class Article < ApplicationRecord
  has_many :article_snapshots, -> { order('created_at desc') }
  has_many :images
  accepts_nested_attributes_for :images, allow_destroy: true
end
